<Code Lib>
2026 Method
Changes 7
M

Toposolid.CreateSubDivision(Document, ElementId, IList<CurveLoop>)

Description:
Creates a Toposolid subdivision element with the current Toposolid as its host.
Overloads (2):
CreateSubDivision(Document,ElementId,IList[CurveLoop])

public Toposolid CreateSubDivision(
	Document document,
	ElementId topoTypeId,
	IList<CurveLoop> profiles
)

  • document
    The document in which the new Toposolid is created.
  • topoTypeId
    Id of the Toposolid type to be used by the new subdivision.
  • IList<CurveLoop>
    profiles
    An array of planar curve loops that represent the profiles of the Toposolid.
Return Value Toposolid The Toposolid subdivision object.

  • The input curve loops cannot compose a valid boundary, that means: the "curveLoops" collection is empty; or some curve loops intersect with each other; or each curve loop is not closed individually; or each curve loop is not planar; or each curve loop is not in a plane parallel to the horizontal(XY) plane; or input curves contain at least one helical curve. -or- Toposolid type is not valid for this Toposolid.
  • A non-optional argument was null

Loading…